package biz.ezcom.design.pattern.proxy.statics;

/**
 *　追求者的代理 
 */
public class Proxy implements GiveGift {
	private Boy boy;
	public Proxy(Boy boy) {
		this.boy = boy;
	}
	@Override
	public void giveFlower(Girl girl) {
		boy.giveFlower(girl);
	}
	@Override
	public void giveChocolate(Girl girl) {
		boy.giveChocolate(girl);
	}

	
	

}
